package com.manage.dao;

import java.util.HashMap;
import java.util.List;

import com.manage.model.User;

public interface UserMapper {
    int deleteUser(Integer userid);

    int insert(User record);

    int insertSelective(User record);

    User selectByPrimaryKey(Integer userid);
    
    User selectByName(String name);

    int updateByPrimaryKeySelective(User record);

    int updateByPrimaryKey(User record);
    
    List<User> listAllUsers();
    
    int insertUser(User user);  
	
	 int deleteByPrimaryKey(Integer userid);
    
    User selectUser(User user);
    
    User updateUser(User user);
    
    List<HashMap<String, Object>> countByCategory(HashMap<String, Object> map);
    
}